home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global STclickLine, STnewLine, SToldLine, SSTclickLine, SSTnewLine, SSToldLine
- repeat while rollover(11)
- setFingerCursor()
- if the mouseLine >= 1 then
- STnewLine = the mouseLine
- if STnewLine >= 1 then
- if (line STnewLine of field "Subtopics" = EMPTY) or (STnewLine = SToldLine) then
- nothing()
- else
- if STnewLine <> STclickLine then
- set the textStyle of line STnewLine of field "subtopics" to "bold, condense"
- if SToldLine <> STclickLine then
- set the textStyle of line SToldLine of field "subtopics" to "plain"
- end if
- else
- set the textStyle of line SToldLine of field "subtopics" to "plain"
- end if
- SToldLine = STnewLine
- end if
- else
- if SToldLine <> STclickLine then
- set the textStyle of line SToldLine of field "subtopics" to "plain"
- end if
- end if
- end if
- pass()
- end repeat
- if SToldLine <> STclickLine then
- set the textStyle of line SToldLine of field "subtopics" to "plain"
- SToldLine = STclickLine
- end if
- repeat while rollover(12)
- if field("Sub-Subtopics") <> " " then
- setFingerCursor()
- else
- setArrowCursor()
- end if
- if the mouseLine >= 1 then
- SSTnewLine = the mouseLine
- if SSTnewLine >= 1 then
- if (line SSTnewLine of field "Sub-Subtopics" = EMPTY) or (SSTnewLine = SSToldLine) then
- nothing()
- else
- if SSTnewLine <> SSTclickLine then
- set the textStyle of line SSTnewLine of field "Sub-subtopics" to "bold, condense"
- if SSToldLine <> SSTclickLine then
- set the textStyle of line SSToldLine of field "Sub-subtopics" to "plain"
- end if
- else
- set the textStyle of line SSToldLine of field "Sub-subtopics" to "plain"
- end if
- SSToldLine = SSTnewLine
- end if
- else
- if SSToldLine <> SSTclickLine then
- set the textStyle of line SSToldLine of field "Sub-subtopics" to "plain"
- end if
- end if
- end if
- pass()
- end repeat
- if SSToldLine <> SSTclickLine then
- set the textStyle of line SSToldLine of field "Sub-subtopics" to "plain"
- SSToldLine = SSTclickLine
- end if
- repeat while rollover(10)
- setFingerCursor()
- pass()
- end repeat
- repeat while rollover(13)
- if the mouseV < (the top of sprite 13 + 8) then
- setFingerCursor()
- else
- if the mouseV > (the bottom of sprite 13 - 22) then
- setFingerCursor()
- else
- setArrowCursor()
- end if
- end if
- pass()
- end repeat
- repeat while rollover(7) and (sprite(7).visible = 1)
- setFingerCursor()
- pass()
- end repeat
- repeat while rollover(10)
- setFingerCursor()
- pass()
- end repeat
- repeat while rollover(47)
- setFingerCursor()
- pass()
- end repeat
- setArrowCursor()
- end
-
- on exitFrame
- go(the frame)
- end
-